Imagify\Optimization\File B

Total Complexity 91
Dependencies 5
Dependents 5
Total lines 902
Lines of code 404
Logical lines of code 208
Comment lines 361
Methods 23
Properties 6

Methods 23

Method Rating Maintainability Complexity Lines of code
resize()
B
37 20 74
optimize()
A
38 12 74
create_thumbnail()
A
46 9 40
backup()
A
47 9 34
can_be_processed()
A
45 7 46
get_editor()
S
55 3 20
get_dimensions()
S
57 3 19
get_editor_methods()
S
60 3 16
get_path_to_nextgen()
S
65 4 9
get_file_type()
S
60 3 14
get_path_to_webp()
S
67 3 9
get_option()
S
69 2 7
is_image()
S
68 2 7
is_exceeded()
S
69 2 7
get_mime_type()
S
81 1 3
get_extension()
S
81 1 3
get_path()
S
82 1 3
is_pdf()
S
80 1 3
is_valid()
S
81 1 3
is_webp()
S
79 1 3
is_avif()
S
79 1 3
is_supported()
S
79 1 3
__construct()
S
76 1 4